#pragma once
#include "Controls/ContainerControl.h"
#include "Layout/Orientation.h"
namespace cxgui
{
// A control that handles its children
class Panel : public ContainerControl
{
public:
	Panel();
	virtual ~Panel();
	Orientation GetOrientation() const;
	void SetOrientation(const Orientation& orientation);
	virtual void OnOrientationChanged();		
protected:	
	Orientation _orientation;
};
}